package openmind.demo.streamUsage;

import java.util.stream.Stream;

/**
 * @author wangzhuangzhuang
 * @DESC:
 * @date 2022-01-06 13:48
 */
public class UsageDemo01 {
	public static void main(String[] args) {
		Stream.of("Monkey", "Lion", "Giraffe", "Lemur", "Lion")
				.parallel()
				.forEach(System.out::println);
	}
}